package td.pt;

import td.client.ui.Button;

import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.gwtplatform.mvp.client.ViewImpl;

public class LeftNavigationView extends ViewImpl implements
		LeftNavigationPresenter.MyView {

	@UiField
	Button browseCategories;
	@UiField
	Button browseTags;
	@UiField
	Button viewTopThoughts;

	private final Widget widget;

	public interface Binder extends UiBinder<Widget, LeftNavigationView> {
	}

	@Inject
	public LeftNavigationView(final Binder binder) {
		widget = binder.createAndBindUi(this);
	}

	@Override
	public Widget asWidget() {
		return widget;
	}

	public Button getBrowseCategories() {
		return browseCategories;
	}

	public Button getBrowseTags() {
		return browseTags;
	}

	public Button getViewTopThoughts() {
		return viewTopThoughts;
	}
}
